home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 7
/
Apprentice-Release7.iso
/
Source Code
/
Pascal
/
Snippets
/
PNL Libraries
/
Libraries
/
GIF
/
GIFSave.p
< prev
next >
Wrap
Text File
|
1995-07-20
|
495b
|
22 lines
unit GIFSave;
interface
uses
Files;
const
GIF_OK = 0;
GIF_ERRCREATE = 1;
GIF_ERRWRITE = 2;
GIF_OUTMEM = 3;
type
GetPixelProcType = function (x,y: integer): integer;
function GIF_Create(var filename: FSSpec; width, height, numcolors, colorres: integer) : integer;
procedure GIF_SetColor(colornum,red, green, blue: integer);
function GIF_CompressImage(left, top, width, height: integer; getpixel: GetPixelProcType):integer;
function GIF_Close:integer;
end.